﻿<%@ Page Language="C#" MasterPageFile="~/Clientmasterpage.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="ESCHOOL.Client.WebForm2" Title="User Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
        }
        .style3
        {
        }
    .style5
    {
        width: 72px;
    }
    .style6
    {
        }
        .style7
        {
            width: 179px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <table runat="server">
       <tr>
            <td class="style2">
                <asp:Panel ID="Panel1" runat="server">
                    <table class="style1">
                        <tr>
                            <td>
                                <table class="style1" style="width: 120%; height: 153px">
                                    <tr>
                                        <td colspan="2">
                                            Sign in your account</td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            User Name</td>
                                        <td>
                                            <asp:TextBox ID="tbusername" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbusername" ErrorMessage="Enter valid username"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            Password</td>
                                        <td>
                                            <asp:TextBox ID="tbpassword" runat="server" TextMode="Password"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="tbpassword" ErrorMessage="plz enter a  valid password"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style6" colspan="2">
                                            <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                                                RepeatDirection="Horizontal">
                                                <asp:ListItem Value="1">Student</asp:ListItem>
                                                <asp:ListItem Value="2">Teacher</asp:ListItem>
                                                <asp:ListItem Value="3">Parent</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            <asp:Button ID="btnlogin" runat="server" onclick="btnlogin_Click" 
                                                Text="Login" />
                                        </td>
                                        <td>
                                            <asp:Button ID="btncancel" runat="server" onclick="btncancel_Click" 
                                                Text="Cancel" />
                                            <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="text-align: left">
                                            <asp:LinkButton ID="lbforgetpss" runat="server" onclick="lbforgetpss_Click" 
                                                CausesValidation="False">Forgot 
                                            password!</asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
            <td class="style3" rowspan="5">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;
                <asp:LinkButton ID="lbsignin" runat="server" onclick="lbsignin_Click">Sign in</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Panel ID="Panel2" runat="server">
                    <table class="style1">
                        <tr>
                            <td class="style7">
                                Select Security Question</td>
                            <td>
                                <asp:DropDownList ID="ddquestion" runat="server">
                                    <asp:ListItem>Who is your best friend?</asp:ListItem>
                                    <asp:ListItem>Which is your birth place?</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="style7">
                                Answer</td>
                            <td>
                                <asp:TextBox ID="tbanswer" runat="server" style="margin-left: 0px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="ansvalidator" runat="server" 
                                    ControlToValidate="tbanswer" ErrorMessage="fill it"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="style7">
                                &nbsp;</td>
                            <td>
                                <asp:RadioButtonList ID="RadioButtonList2" runat="server" 
                                    RepeatDirection="Horizontal">
                                    <asp:ListItem Value="1">Student</asp:ListItem>
                                    <asp:ListItem Value="2">Teacher</asp:ListItem>
                                    <asp:ListItem Value="3">Parent</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr>
                            <td class="style7">
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnsearch" runat="server" onclick="btnsearch_Click" Text="Ok" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
            
                &nbsp;</td>
        </tr>
        </table>
</asp:Content>
